QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    album.cpp \
    main.cpp \
    mainwindow.cpp \
    music.cpp \
    mysqlconnect.cpp \
    singer.cpp

HEADERS += \
    album.h \
    mainwindow.h \
    music.h \
    mysqlconnect.h \
    singer.h

FORMS += \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

QT += sql #添加数据库

QT += core gui multimedia#添加音乐控件

RESOURCES += \
    resources.qrc

DISTFILES += \
    image/background/default.jpg \
    image/button/Ilike.png \
    image/button/Ilike1.png \
    image/button/add.png \
    image/button/face.png \
    image/button/jump.png \
    image/button/left-arrow.png \
    image/button/left.png \
    image/button/like.png \
    image/button/list.png \
    image/button/loop-list.png \
    image/button/loop-one.png \
    image/button/loop.png \
    image/button/max.png \
    image/button/min.png \
    image/button/music-voice.png \
    image/button/music.png \
    image/button/next.png \
    image/button/none-music.png \
    image/button/ooopic_1520340986.ico \
    image/button/pase.png \
    image/button/play-random.png \
    image/button/play-resently.png \
    image/button/play.png \
    image/button/playlist.png \
    image/button/position.png \
    image/button/pre.png \
    image/button/quit.png \
    image/button/right-arrow.png \
    image/button/right.png \
    image/button/sereach.png \
    image/button/setting.png \
    image/button/tr.png \
    image/button/播放.png \
    image/button/皮肤 (1).png \
    image/buttonhover/Ilike-hover.png \
    image/buttonhover/Ilike1-hover.png \
    image/buttonhover/add-hover.png \
    image/buttonhover/jump-hover.png \
    image/buttonhover/left-arrow-hover.png \
    image/buttonhover/left-light.png \
    image/buttonhover/like-hover.png \
    image/buttonhover/list-hover.png \
    image/buttonhover/loop-hover.png \
    image/buttonhover/loop-list-hover.png \
    image/buttonhover/loop-one-hover.png \
    image/buttonhover/music-voice-hover.png \
    image/buttonhover/music_hover.png \
    image/buttonhover/next-hover.png \
    image/buttonhover/none-music-hover.png \
    image/buttonhover/pase-hover.png \
    image/buttonhover/play-hover.png \
    image/buttonhover/play-random-hover.png \
    image/buttonhover/play-resently-hover.png \
    image/buttonhover/playlist-hover.png \
    image/buttonhover/position-hover.png \
    image/buttonhover/pre-hover.png \
    image/buttonhover/right-hover.png \
    image/buttonhover/sereach-hover.png \
    image/buttonhover/setting.png

